Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Specify output from the command line #364

Merged
merged 3 commits into from
Apr 24, 2023
Merged

🤖 Specify output from the command line #364

merged 3 commits into from
Apr 24, 2023

Conversation

rowanc1
Copy link
Collaborator

@rowanc1 rowanc1 commented Apr 24, 2023

This allows us to directly specify the output from the CLI, it only allows you to have a single file if you are specifying the output. It also infers the export type and turns on --force.

myst build example.ipynb -o example.xml

@rowanc1 rowanc1 requested a review from fwkoch April 24, 2023 17:25
Copy link
Collaborator

@fwkoch fwkoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more case where we can add implied force I think, but other than that, looks good.

packages/myst-cli/src/build/build.ts Outdated Show resolved Hide resolved
@rowanc1 rowanc1 merged commit 01cdd78 into main Apr 24, 2023
@rowanc1 rowanc1 deleted the feat/output branch April 24, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants